package org.eiahe.hr.employeeRelation.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.employeeRelation.domain.ContractTerminationApplication;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 合同终止申请视图对象
 *
 * @author zhangnn
 */
@Data
@AutoMapper(target = ContractTerminationApplication.class)
public class ContractTerminationApplicationVo {

    /**
     * 申请ID
     */
    private Long applicationId;

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 员工ID
     */
    private Long employeeId;

    /**
     * 工号
     */
    private String employeeNo;

    private String employeeName;
    /**
     * 终止类型（1主动辞职 2被迫解雇 3协议解除）
     */
    private String terminationType;

    /**
     * 终止原因
     */
    private String terminationReason;

    /**
     * 终止时间
     */
    private Date terminationTime;

    /**
     * 终止协议
     */
    private String terminationAgreement;

    /**
     * 赔偿金额
     */
    private BigDecimal compensationAmount;

    /**
     * 处理结果
     */
    private String processingResult;

    /**
     * 审批状态（0待审批 1已通过 2已驳回）
     */
    private String approvalStatus;

    /**
     * 创建时间
     */
    private Date createTime;
}
